package com.github.base.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: base
 * @description: 用户-角色 关联
 * @author: hui.zhang
 * @date: 2021/1/27 4:45 下午
 **/

@Data
@TableName("t_user_role")
@EqualsAndHashCode(callSuper = true)
public class UserRole extends Model<UserRole> {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 角色id
     */
    private Long roleId;
}
